package com.scau.ums.mapper;

import com.scau.ums.model.Repairreport;
import com.scau.ums.util.dao.SelectByPageSql;
import org.apache.ibatis.annotations.SelectProvider;

import java.util.List;

/**
 * author: 莫伟杰
 * date： 2019/7/29 14:49
 */
public interface CustomRepairreportMapper{
    @SelectProvider(method = "selectByPageSetOrderByClause",type = SelectByPageSql.class)
    public List<Repairreport> selectByPageSetOrderByClause
            (String table, String orderClause, int startIndex, int pageSize);

    @SelectProvider(method = "selectRowByPageSetOrderByClause",type = SelectByPageSql.class)
    public List<Repairreport> selectRowByPageSetOrderByClause
            (String table, String orderClause, int startIndex, int pageSize,String whereClause);


}
